package com.finance.capacity.common.capDao;

import com.finance.capacity.common.bean.pojo.CapOrganization;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: gly
 * @Date: Created in 2017-08-29
 */
@Component
public interface CapOrganizationMapper {
    List<CapOrganization> provinceCompanies();

    List<CapOrganization> cityCompanies(String provinceCompanyCode);

    List<CapOrganization> sites(String cityCompanyCode);

    CapOrganization getMaintainSiteInfo(@Param("userCode") String userCode);

    List<String> getIdByName(String orgName);
}
